using System;

namespace TracNghiem2
{
	[Gtk.TreeNode (ListOnly = true)]
	public class QuestionNode : Gtk.TreeNode
	{

		public CauHoi question;
		[Gtk.TreeNodeValue (Column = 0)]
		public string no;

		[Gtk.TreeNodeValue (Column = 1)]
		public string quest; /* FIXME redundant code */

		public QuestionNode (string number, CauHoi ques)
		{
			no = number;
			question = ques;
			quest = question.question;
		}
	}
}

